package com.heima.common.exception;

import com.heima.model.common.enums.AppHttpCodeEnum;

/**
 *主动抛出异常类
 */
public class CustException {

    public static void cust(AppHttpCodeEnum codeEnum){
        throw new CustomException(codeEnum);
    }
}
